.jetpack-plan-card {
	$jetpack-plan-card-color: var( --studio-jetpack-green-40 );
	$jetpack-free-plan-color: var( --studio-blue-30 );
	$jetpack-personal-plan-color: var( --studio-yellow-40 );
	$jetpack-premium-plan-color: var( --studio-jetpack-green-30 );
	$jetpack-professional-plan-color: var( --studio-purple-30 );

	.jetpack-product-card__header {
		border-color: $jetpack-plan-card-color;
	}

	.plan-price {
		border-color: $jetpack-plan-card-color;
	}

	&.is-deprecated {
		.plan-price {
			border-color: var( --color-text );
		}
	}

	&[data-icon^='jetpack_free'] {
		.jetpack-product-card__header {
			border-color: $jetpack-free-plan-color;
		}

		&:not( .is-owned ) .jetpack-product-card__badge {
			color: $jetpack-free-plan-color;
		}
	}

	&[data-icon^='jetpack_personal'] {
		.jetpack-product-card__header {
			border-color: $jetpack-personal-plan-color;
		}

		&:not( .is-owned ) .jetpack-product-card__badge {
			color: $jetpack-personal-plan-color;
		}
	}

	&[data-icon^='jetpack_premium'] {
		.jetpack-product-card__header {
			border-color: $jetpack-premium-plan-color;
		}

		&:not( .is-owned ) .jetpack-product-card__badge {
			color: $jetpack-premium-plan-color;
		}
	}

	&[data-icon^='jetpack_business'] {
		.jetpack-product-card__header {
			border-color: $jetpack-professional-plan-color;
		}

		&:not( .is-owned ) .jetpack-product-card__badge {
			color: $jetpack-professional-plan-color;
		}
	}
}
